create user registration form in c